Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add extra field #811

Merged
merged 14 commits into from
Aug 13, 2024

Conversation

nichmor
Copy link
Contributor

@nichmor nichmor commented Aug 13, 2024

Co-authored-by: Bas Zalmstra <zalmstra.bas@gmail.com>
@baszalmstra baszalmstra enabled auto-merge (squash) August 13, 2024 12:23
@nichmor
Copy link
Contributor Author

nichmor commented Aug 13, 2024

it looks like we need to use serde_json::Value as extra can contain different objects types

@baszalmstra
Copy link
Collaborator

I think we should use an IndexMap instead to preserve the insertion order.

@wolfv
Copy link
Contributor

wolfv commented Aug 13, 2024

Or btree?

@nichmor
Copy link
Contributor Author

nichmor commented Aug 13, 2024

@baszalmstra
Copy link
Collaborator

I would prefer to just keep the insertion order using an IndexMap. But if you wanna sort them by name I would indeed use a BTreeMap.

@nichmor
Copy link
Contributor Author

nichmor commented Aug 13, 2024

I would prefer to just keep the insertion order using an IndexMap. But if you wanna sort them by name I would indeed use a BTreeMap.

changed to BTreeMap to not have reproducibility issues in future

@baszalmstra baszalmstra enabled auto-merge (squash) August 13, 2024 15:15
@baszalmstra baszalmstra merged commit f8abd72 into conda:main Aug 13, 2024
15 checks passed
@baszalmstra baszalmstra mentioned this pull request Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants